package org.xin.framework.base.pojo.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiParam;
import lombok.Builder;
import lombok.Data;

import java.io.Serializable;

/**
 * @author ：xin
 * @date ：Created in 2021/9/30
 * @desc <p> 高级查询表单 </p>
 * @modified By：$
 * @version: $
 */
@Data
@Builder
@ApiModel(description = "SearchForm")
public class SearchForm implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "查询字段")
    private String name;
    @ApiModelProperty(value = "查询值")
    private Object value;
    @ApiModelProperty(value = "查询结束值(适用范围查询)")
    private Object valueEnd;
    @ApiModelProperty(value = "查询类型(0精准查询，1模糊查询，2范围查询，3字典查询)：默认0")
    private Integer type;
}
